Skip to content

openai-v2: import OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT from genai-utils#5

Closed
nagkumar91 wants to merge 1 commit into
mainfrom
use-genai-utils-openai-v2
Closed

openai-v2: import OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT from genai-utils#5
nagkumar91 wants to merge 1 commit into
mainfrom
use-genai-utils-openai-v2

Conversation

@nagkumar91

Copy link
Copy Markdown
Owner

Summary

Remove the local re-definition of OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT in utils.py and import it from opentelemetry.util.genai.environment_variables instead, making opentelemetry-util-genai the single source of truth for this constant.

Changes

  • utils.py: Replace local constant definition with import from opentelemetry.util.genai.environment_variables

Testing

Existing tests continue to pass.

…from genai-utils

Remove local re-definition of OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT
and import it from opentelemetry.util.genai.environment_variables instead,
making genai-utils the single source of truth for this constant.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nagkumar91 nagkumar91 closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant